This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: RFC822 Flags: STRICT in internet mail in inbox ~Kirk Frowesonjip 23.Jul.03 05:40 PM a Web browser Domino Designer 6.0Windows 2000
The Subject field may be text, or more commonly these days RFC822, particularly on external email. If it is RFC822, the field has additional information, and you may need to force it's conversion to text to use it as we generally do.
I have some LotusScript code which forwards an email, in the backend, to get a text rendition of the email including SendTo etc. If the Subject field is RFC822, I have to set a variant to doc.Subject(0), then force it's implied conversion by setting a string variable to the variant value, in order to see the Subject field as text.
Set item = doc.GetFirstItem("Subject")
If item.Type = 1282 Then
' Subject is an RFC822 field (e.g. from an external email)
tmp_strSubject = doc.Subject(0)
strSubject$ = tmp_strSubject
Else
strSubject$ = doc.Subject(0)
End If